package xyhoo.springframework.beans.factory.xml;

import xyhoo.springframework.beans.factory.parsing.DefaultsDefinition;

public class DocumentDefaultsDefinition implements DefaultsDefinition {

    // 懒加载
    private String lazyInit;

    // 合并配置
    private String merge;

    // 自动装配
    private String autowire;

    // 自动装配候选者
    private String autowireCandidates;

    // 初始化方法
    private String initMethod;

    // 销毁方法
    private String destroyMethod;

    private Object source;

    @Override
    public Object getSource() {
        return source;
    }

    public void setSource(Object source) {
        this.source = source;
    }

    public String getDestroyMethod() {
        return destroyMethod;
    }

    public void setDestroyMethod(String destroyMethod) {
        this.destroyMethod = destroyMethod;
    }

    public String getInitMethod() {
        return initMethod;
    }

    public void setInitMethod(String initMethod) {
        this.initMethod = initMethod;
    }

    public String getAutowireCandidates() {
        return autowireCandidates;
    }

    public void setAutowireCandidates(String autowireCandidates) {
        this.autowireCandidates = autowireCandidates;
    }

    public String getAutowire() {
        return autowire;
    }

    public void setAutowire(String autowire) {
        this.autowire = autowire;
    }

    public String getMerge() {
        return merge;
    }

    public void setMerge(String merge) {
        this.merge = merge;
    }

    public String getLazyInit() {
        return this.lazyInit;
    }

    public void setLazyInit(String lazyInit) {
        this.lazyInit = lazyInit;
    }
}
